package com.cyj.springbootservice.controller.aop;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @Author C_Y_J
 * @create 2021/11/25 19:05
 **/
@RestController
public class AopController {

    /**
     * 测试被切面的方法
     * @return
     */
    @RequestMapping("/aspect")
    public String testAspect(){
        System.out.println("in method");
        return "OK";
    }
}
